package com.yuyou.tas.util.office.edit;

import java.util.Calendar;
import java.util.Date;

public class DateUtils {

    public static Date nowAddHour(int hour){
        Calendar calendar = Calendar.getInstance();
        calendar.add(Calendar.HOUR,hour);
        return calendar.getTime();
    }


    /*public static void main(String[] args) throws IOException {
        String[][] arrays = DateUtils.getData(1);
        for (int i = 0 ; i < arrays.length ; i++){
            System.out.println("--第"+i+"行");
            for (int j = 0; j < arrays[i].length ; j++){
                System.out.println("---------"+arrays[i][j]);
            }

        }
    }*/
}
